package com.freesky.biz.icbc.mapper;

import com.freesky.biz.icbc.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LotteryMapper {

    List<TLotteryRecord> findList(TLotteryRecord lotteryRecord);

    List<TLotteryRecord618> find618List(TLotteryRecord618 entity);

    public List<LotteryModel> selectLotteryList(LotteryModel lotteryModel);

    public List<LotteryItemModel> getLotteryItemByLotteryId(@Param("lotteryId") String lotteryId);
    public List<LotteryPrizeModel> getLotteryPrizeByLotteryId(@Param("lotteryId") String lotteryId);

    public int resetLotteryById(@Param("lotteryId") String lotteryId);

    public int updateLotterById(LotteryModel lotteryModel);
    public int updatePrizeById(LotteryPrizeModel lotteryPrizeModel);
    public int updateItemById(LotteryItemModel lotteryItemModel);

}
